home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
os2
/
lxlt113.zip
/
SOURCES
/
RTL
/
!README
next >
Wrap
Text File
|
1996-06-11
|
955b
|
21 lines
This directory contains a slightly modified version
of CRT.TPU. The differences are:
1. On the start-up it determines whenever stdin/stdout are redirected
and does NOT assign CRT to them if they are so. So the programs compiled
with such CRT unit can be redirected (say lxlite >nul or lxlite |more <answers)
The boolean variables RedirInput and RedirOutput are set in correspondence to
the status of input/output streams.
2. The procedure WritePackedString is modified so it will run almost as fast
as possible. The initial version works on a char-by-char basis which is SLOW!
Beside these modifications to CRT.PAS AT LEAST ONE `undocumented` (really
documented by IBM but without guaranties in the future) function must be
added to the OS2BASE.PAS for programs to compile properly:
function DosReplaceModule(OldModName,NewModName,BackModName: PChar): ApiRet;
[...and at the end of unit...]
function DosReplaceModule; external;